.class public Lcom/waiqin365/lightwork/tracker/x;
.super Landroid/support/v4/app/Fragment;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static c:Ljava/util/ArrayList;

.field private static final k:I

.field private static final l:I

.field private static final m:I

.field private static final n:I


# instance fields
.field public a:Lcom/waiqin365/lightapp/view/CalendarView;

.field public b:Landroid/view/View;

.field private d:Landroid/view/ViewGroup;

.field private e:Llecho/lib/hellocharts/view/PieChartView;

.field private f:Llecho/lib/hellocharts/model/PieChartData;

.field private g:Ljava/util/ArrayList;

.field private h:Ljava/util/ArrayList;

.field private i:Ljava/util/ArrayList;

.field private j:Ljava/util/ArrayList;

.field private o:Landroid/os/Handler;

.field private p:Lcom/waiqin365/compons/view/a;

.field private q:Landroid/widget/TextView;

.field private r:Landroid/widget/TextView;

.field private s:I

.field private t:I

.field private u:I

.field private v:I

.field private w:I

.field private x:I

.field private y:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-string/jumbo v0, "#89d499"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/waiqin365/lightwork/tracker/x;->k:I

    const-string/jumbo v0, "#ff8c8c"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/waiqin365/lightwork/tracker/x;->l:I

    const-string/jumbo v0, "#ffb535"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/waiqin365/lightwork/tracker/x;->m:I

    const-string/jumbo v0, "#91999f"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/waiqin365/lightwork/tracker/x;->n:I

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/x;->y:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/x;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/x;->i()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/x;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightwork/tracker/x;->b(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/tracker/x;)Landroid/view/ViewGroup;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    return-object v0
.end method

.method private b(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0, p1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    :cond_1
    return-void
.end method

.method private e()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightwork/tracker/y;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/tracker/y;-><init>(Lcom/waiqin365/lightwork/tracker/x;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->o:Landroid/os/Handler;

    return-void
.end method

.method private f()V
    .locals 8

    const/4 v7, 0x4

    const/4 v6, 0x1

    const v5, 0x3f4ccccd    # 0.8f

    const/4 v4, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/x;->g()V

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->d()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Llecho/lib/hellocharts/model/SliceValue;

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    int-to-float v2, v2

    sget v3, Lcom/waiqin365/lightwork/tracker/x;->k:I

    invoke-direct {v1, v2, v3}, Llecho/lib/hellocharts/model/SliceValue;-><init>(FI)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Llecho/lib/hellocharts/model/SliceValue;

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    int-to-float v2, v2

    sget v3, Lcom/waiqin365/lightwork/tracker/x;->m:I

    invoke-direct {v1, v2, v3}, Llecho/lib/hellocharts/model/SliceValue;-><init>(FI)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Llecho/lib/hellocharts/model/SliceValue;

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    int-to-float v2, v2

    sget v3, Lcom/waiqin365/lightwork/tracker/x;->l:I

    invoke-direct {v1, v2, v3}, Llecho/lib/hellocharts/model/SliceValue;-><init>(FI)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Llecho/lib/hellocharts/model/SliceValue;

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    int-to-float v2, v2

    sget v3, Lcom/waiqin365/lightwork/tracker/x;->n:I

    invoke-direct {v1, v2, v3}, Llecho/lib/hellocharts/model/SliceValue;-><init>(FI)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Llecho/lib/hellocharts/model/PieChartData;

    invoke-direct {v1, v0}, Llecho/lib/hellocharts/model/PieChartData;-><init>(Ljava/util/List;)V

    iput-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/model/PieChartData;->setHasLabels(Z)Llecho/lib/hellocharts/model/PieChartData;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/model/PieChartData;->setHasLabelsOutside(Z)Llecho/lib/hellocharts/model/PieChartData;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/model/PieChartData;->setHasLabelsOnlyForSelected(Z)Llecho/lib/hellocharts/model/PieChartData;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v6}, Llecho/lib/hellocharts/model/PieChartData;->setHasCenterCircle(Z)Llecho/lib/hellocharts/model/PieChartData;

    iget-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/x;->y:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v7}, Llecho/lib/hellocharts/model/PieChartData;->setSlicesSpacing(I)Llecho/lib/hellocharts/model/PieChartData;

    :goto_0
    iput-boolean v4, p0, Lcom/waiqin365/lightwork/tracker/x;->y:Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v5}, Llecho/lib/hellocharts/model/PieChartData;->setCenterCircleScale(F)Llecho/lib/hellocharts/model/PieChartData;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/view/PieChartView;->setValueSelectionEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/view/PieChartView;->setValueTouchEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v5}, Llecho/lib/hellocharts/view/PieChartView;->setCircleFillRatio(F)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v6}, Llecho/lib/hellocharts/view/PieChartView;->setChartRotationEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v1}, Llecho/lib/hellocharts/view/PieChartView;->setPieChartData(Llecho/lib/hellocharts/model/PieChartData;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/view/PieChartView;->setChartRotationEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->j:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v7}, Llecho/lib/hellocharts/view/PieChartView;->setVisibility(I)V

    :goto_1
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->f:Llecho/lib/hellocharts/model/PieChartData;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/model/PieChartData;->setSlicesSpacing(I)Llecho/lib/hellocharts/model/PieChartData;

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0, v4}, Llecho/lib/hellocharts/view/PieChartView;->setVisibility(I)V

    goto :goto_1
.end method

.method private g()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    invoke-virtual {v0}, Llecho/lib/hellocharts/view/PieChartView;->startDataAnimation()V

    return-void
.end method

.method private h()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string/jumbo v2, "locSummary_allClick"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    new-instance v1, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightwork/tracker/TrackerStatusDetailActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "date"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/x;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/FragmentActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method

.method private i()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->p:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    :cond_0
    return-void
.end method


# virtual methods
.method public a()V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    const v1, 0x7f0c007b

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->b:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    const v1, 0x7f0c09ab

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CalendarView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/z;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/z;-><init>(Lcom/waiqin365/lightwork/tracker/x;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->setOnDateSelectedListener(Lcom/waiqin365/lightapp/view/cr;)V

    const-wide/32 v0, 0x5265c00

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->a:Lcom/waiqin365/lightapp/view/CalendarView;

    new-instance v3, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    sub-long v0, v4, v0

    invoke-direct {v3, v0, v1}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/CalendarView;->setSelectedDate(Ljava/util/Date;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    const v1, 0x7f0c0bdc

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Llecho/lib/hellocharts/view/PieChartView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->e:Llecho/lib/hellocharts/view/PieChartView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    const v1, 0x7f0c0bde

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->q:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->q:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    const v1, 0x7f0c0bdf

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->r:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->r:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setFlags(I)V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    const/4 v2, 0x3

    invoke-direct {v1, v2}, Ljava/util/HashMap;-><init>(I)V

    const-string/jumbo v2, "qdate"

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightwork/tracker/b/b;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightwork/tracker/b/b;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/b/i;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->o:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightwork/tracker/b/i;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/b/j;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/i;->start()V

    return-void
.end method

.method public a(Ljava/util/HashMap;)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->h:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->i:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->j:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    invoke-virtual {p1}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    if-eqz v0, :cond_0

    new-instance v2, Lcom/waiqin365/lightwork/tracker/model/t;

    invoke-direct {v2, v0}, Lcom/waiqin365/lightwork/tracker/model/t;-><init>(Lcom/waiqin365/lightwork/tracker/model/t;)V

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->i:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->i:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->g:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->g:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->k:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->k:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->n:Ljava/lang/String;

    iput-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->n:Ljava/lang/String;

    iget-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v5

    invoke-virtual {v5}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    iput-object v0, v2, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->c()V

    return-void
.end method

.method public b()V
    .locals 2

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->h:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->i:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->j:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    sput-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/model/x;->g()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/model/x;->c()Lcom/waiqin365/lightwork/tracker/model/t;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public c()V
    .locals 4

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    sget-object v0, Lcom/waiqin365/lightwork/tracker/x;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    const-string/jumbo v2, "6"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->h:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    goto :goto_0

    :cond_1
    const-string/jumbo v2, "5"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->i:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    goto :goto_0

    :cond_2
    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    goto :goto_0

    :cond_3
    const-string/jumbo v2, "8"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_4

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    goto :goto_0

    :cond_4
    const-string/jumbo v2, "4"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/x;->j:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    goto/16 :goto_0

    :cond_5
    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->h:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    sub-int/2addr v0, v1

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->i:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    sub-int/2addr v0, v1

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->g:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    sub-int/2addr v0, v1

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/x;->j:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    sub-int/2addr v0, v1

    if-nez v0, :cond_7

    :cond_6
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/x;->y:Z

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->q:Landroid/widget/TextView;

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/x;->s:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/x;->f()V

    return-void
.end method

.method public d()V
    .locals 12

    const/16 v11, 0x8

    const/4 v10, 0x0

    const-wide v8, 0x3f80624dd2f1a9fcL    # 0.008

    const/high16 v7, 0x44780000    # 992.0f

    const/high16 v6, 0x3f000000    # 0.5f

    iget v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    int-to-float v0, v0

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    int-to-float v1, v1

    div-float/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    int-to-float v1, v1

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    int-to-float v2, v2

    div-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    int-to-float v2, v2

    iget v3, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    int-to-float v3, v3

    div-float/2addr v2, v3

    iget v3, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    int-to-float v3, v3

    iget v4, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    int-to-float v4, v4

    div-float/2addr v3, v4

    cmpl-float v4, v0, v10

    if-lez v4, :cond_0

    float-to-double v4, v0

    cmpg-double v4, v4, v8

    if-gez v4, :cond_0

    iput v11, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    mul-float v4, v7, v1

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    mul-float v4, v7, v2

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    mul-float v4, v7, v3

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    const/16 v4, 0x3e8

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->d()V

    :cond_0
    cmpl-float v4, v1, v10

    if-lez v4, :cond_1

    float-to-double v4, v1

    cmpg-double v4, v4, v8

    if-gez v4, :cond_1

    iput v11, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    mul-float v4, v7, v0

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    mul-float v4, v7, v2

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    mul-float v4, v7, v3

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    const/16 v4, 0x3e8

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->d()V

    :cond_1
    cmpl-float v4, v2, v10

    if-lez v4, :cond_2

    float-to-double v4, v2

    cmpg-double v4, v4, v8

    if-gez v4, :cond_2

    iput v11, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    mul-float v4, v7, v0

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    mul-float v4, v7, v1

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    mul-float v4, v7, v3

    add-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    const/16 v4, 0x3e8

    iput v4, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->d()V

    :cond_2
    cmpl-float v4, v3, v10

    if-lez v4, :cond_3

    float-to-double v4, v3

    cmpg-double v3, v4, v8

    if-gez v3, :cond_3

    iput v11, p0, Lcom/waiqin365/lightwork/tracker/x;->w:I

    mul-float/2addr v0, v7

    add-float/2addr v0, v6

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->t:I

    mul-float v0, v7, v1

    add-float/2addr v0, v6

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->u:I

    mul-float v0, v7, v2

    add-float/2addr v0, v6

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->v:I

    const/16 v0, 0x3e8

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/x;->x:I

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->d()V

    :cond_3
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/x;->h()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0bde
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2

    const v0, 0x7f03026b

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/x;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/x;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/x;->d:Landroid/view/ViewGroup;

    return-object v0
.end method
